package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.RBook;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRBookService {

    List<RBook>  list();

    PageInfo<RBook> page(BaseRequest baseRequest);

    void save(RBook borrow);

    RBook getById(Integer id);

    void update(RBook rBook);

    void deleteById(Integer id);

}
